App panel Dev, Oops! Something went wrong, Unsure what

Hi,

I’m trying to add an app panel to my app in the deal details view. However, It doesn’t seem to wanna load.
I get error below. With response: {“success”:false,“error”:“Failed to fetch panel data”}
image

I added all the requirements as it works in postman with basic auth. And a test JSON structure with some hardcoded data.


This is the data it should receive
image

Unsure if I missed a step or if something is wrong with the data or the JSON structure.

Also here is the code I’m testing with, which works in postman.

Best Regards,
Vidar Asp Johansson