'while(1){}' in Lightroom API Responses | Community
Skip to main content
June 9, 2020

'while(1){}' in Lightroom API Responses

  • June 9, 2020
  • 1 reply
  • 2496 views

Hey,

 

I'm currently working on a project using the Lightroom API and I want to get the albums of a user. The authentication is all working, but every API response starts with 'while(1){}'. Because of this I can not parse the JSON properly. Ofcourse I could strip this part, but why is this here? Is it a bug?

 

Example

while(1){}{ "base": "https://lr.adobe.io/v2/catalogs/.../", "resources": [] ... you get the point

 

I hope someone can shed some light on this.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

June 22, 2020