Expand my Community achievements bar.

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

Avatar

Level 1

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.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

API
1 Reply