”Authroization or Customer header is unavailable” while working with Citrix Cloud API

While working with the Citrix Cloud monitor service is amazing, it is also quite unpredictable and we often experience bugs without any notice.

The latest one is related to paging, where the nextLink is presented as http instead of https, which breaks recursive searches. Now this is not the hardest one to fix, but the message can throw you off a bit.

The error states ”Authroization or Customer header is unavailable.” (before you ask, yes the error message is misspelled). And when built into a recursive function It’s not the easiest to spot.

The solution is simple, just replace http:// with https:// and everything will start working again.

Full recursive function

Hopefully this save someone a headache or two!

I’ve submitted this as an issue in citrix github so hopefullt this will be resolved soon.



Citrix Developer API


Disclaimer: All information on this blog is offered "as is" with no warranty. It is strongly recommended that you verify all information and validate all scripts in isolated test environments before using them in production environments.