Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

500 Error in runtime action

prashantonkar
Level 4
Level 4

I had written a custom action on firefly template which consumes Analytics API. It was running fine until today. When I call the API, all I get is this error:

{
  "error": "server error"
}

In the console of code editor, I see

info: 500: server error

 Logs aren't updating too. Is there anything I can do to get more information on the error ?

1 Accepted Solution
prashantonkar
Correct answer by
Level 4
Level 4

Seems like there was an error in the token that  used to make the API call. The token had expired. I created a new token and API is returning the response.

View solution in original post

2 Replies
prashantonkar
Correct answer by
Level 4
Level 4

Seems like there was an error in the token that  used to make the API call. The token had expired. I created a new token and API is returning the response.

View solution in original post