#segalee

1 messages · Page 1 of 1 (latest)

coral trenchBOT
stray pawn
#

Hi
It looks like you have custom CSP policy in your server that is blocking the API call. You need to update your policies.

worthy urchin
#

👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

humble kayak
#

@stray pawn I've updated the policies in the content_security_policy array. It still doesnt seem to work in my local machine

stray pawn
humble kayak
#

Ive added the correct url in connect-src
also tried including
"image-src": null,
"purpose": "Send data to example service...",
"frame-src": null,
"script-src": null

but it still fails

coral trenchBOT
stray pawn
#

What CSP directives do you have?

humble kayak
#

"connect-src"
"image-src"
"purpose"

stray pawn
#

try:
connect-src 'self' https://api.stripe.com

humble kayak
stray pawn
#

yes try that.