Empty Json response from api call

Hello,

I am using this URL to get invoices from my FreeAgent account :
https://api.sandbox.freeagent.com/v2/invoices
The server is returning code 200 ie request successfully executed. But I am
getting no data in the JSON response. Can you please tell me as to why this
is happening? And what is the solution for same.

my email-id for freeagent account- “shriiesh@i-dynamics.com
I have also attached screenshots for your reference please.

Shriiesh Var Sharma

i-Dynamics Solutions Ltd

Mobile +91 9888172174

shriiesh@i-dynamics.com shriiesh@i-dynamics.com

Hi Shriiesh,

From your screenshot it looks like you’re trying to use your main FreeAgent
account with the API but in the Google OAuth Playground you’re using our
sandbox server. If you want to test on the sandbox server you will need to
create the invoices on your sandbox account which, if you signed up with
the same subdomain, is at https://idynamics.sandbox.freeagent.com.

Hopefully this fixes your problem.

Regards,
Harry MillsOn Fri, Feb 27, 2015 at 7:49 AM, Shriiesh Sharma shriiesh23@gmail.com wrote:

Hello,

I am using this URL to get invoices from my FreeAgent account : "
https://api.sandbox.freeagent.com/v2/invoices"
The server is returning code 200 ie request successfully executed. But I
am getting no data in the JSON response. Can you please tell me as to why
this is happening? And what is the solution for same.

my email-id for freeagent account- "shriiesh@i-dynamics.com"
I have also attached screenshots for your reference please.

Shriiesh Var Sharma


i-Dynamics Solutions Ltd

Mobile +91 9888172174

shriiesh@i-dynamics.com shriiesh@i-dynamics.com


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to freeagent_api+unsubscribe@googlegroups.com.
To post to this group, send email to freeagent_api@googlegroups.com.
Visit this group at http://groups.google.com/group/freeagent_api.
For more options, visit https://groups.google.com/d/optout.

Yes, it worked. Thanks a ton Harry. :slight_smile: :)On Friday, February 27, 2015 at 6:17:51 PM UTC+5:30, Shriiesh Sharma wrote:

Hello,

I am using this URL to get invoices from my FreeAgent account : "
https://api.sandbox.freeagent.com/v2/invoices"
The server is returning code 200 ie request successfully executed. But I
am getting no data in the JSON response. Can you please tell me as to why
this is happening? And what is the solution for same.

my email-id for freeagent account- "shriiesh@i-dynamics.com"
I have also attached screenshots for your reference please.

Shriiesh Var Sharma


i-Dynamics Solutions Ltd

Mobile +91 9888172174

shriiesh@i-dynamics.com shriiesh@i-dynamics.com