how to get pass this error while working with the ...
# prisma-whats-new
j
how to get pass this error while working with the functions via web console:
Copy code
<http://d0b5iw4041.execute-api.eu-west-1.amazonaws.com/:1|d0b5iw4041.execute-api.eu-west-1.amazonaws.com/:1> POST <https://d0b5iw4041.execute-api.eu-west-1.amazonaws.com/prod/create/> net::ERR_ABORTED
VM55 edit:1 Failed to load <https://d0b5iw4041.execute-api.eu-west-1.amazonaws.com/prod/create/>: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<https://console.graph.cool>' is therefore not allowed access. The response had HTTP status code 502. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
VM55 edit:1 Uncaught (in promise) TypeError: Failed to fetch
n
this means you have a syntax error in your function