Call network api in cloud codeless

Application ID: FF55A111-06AF-7EB1-FFDE-B5B62760CA00

The issue
400 - {“code”:401,“status”:“Unauthorized”,“error”:“NotAuthenticated”,“errorCode”:1074,“errorMessage”:“This API method does not allow anonymous callers.”} (401)

trying to call network api in cloud codeless…
but i need allow anonymous callers.
I tried updating the permissions for the event, but even with all roles checked it doesn’t work.

Are you calling an API that is running elsewhere (outside of Backendless)?

trying to call https://F29F9.playfabapi.com/Server/UpdateUserReadOnlyData
with http/s block in codeless.

Just realised it might be the headers… i forgot to add them

Solved it by adding headers

1 Like