Highlighted

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

Avatar

Avatar

wiebel30364900

Avatar

wiebel30364900

wiebel30364900

09-06-2020

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.

API APIs lightroom

Replies

Avatar

Avatar

wiebel30364900

Avatar

wiebel30364900

wiebel30364900

22-06-2020