API returning nothing

Yo,

The web service has randomly returned me a ream of non existing objects
several times in the past week or two. Is this a known issue? Has there
been down time?

We run a couple of automated tasks, one which creates invoices and one
which simply gets some to see what status they are in.

Any input much appreciated.

Thanks

Jon Free

WasteSource

07931 925257 | 0117 205 0259

wastesource.co.uk http://www.wastesource.co.uk/?footer=jf | @wastesource
https://twitter.com/#!/WasteSource

Loft 3, Tobacco Factory, Bristol, BS3 1TF

Information in this email is confidential and intended for the sole use of
the addressee/s. Access, copying, disclosure or re-use, in any way, of the
contents of this email by anyone other than the addressee/s is
unauthorised. I accept no legal responsibility for the content of the
message. If you have received this email in error, please return it to the
sender.

Jonathan,

I must have had about 20-30:

Object reference not set to an instance of an object.

At 17:30. Time is approx as they are emailed so some delay could be
possible. I also know my task ran between 17:31:04 and 17:31:53. So it’s
going to be about then.

Can you see what happened at your end? My code is failing where it expects
to be returned objects from the web service, no where else.

Cheers

JonOn 12 November 2014 18:29, Jonathan Barrett jonathan@freeagent.com wrote:

Hi Jon,

That’s a little worrying. Can you give me an example request (minus
sensitive info) and the time it was made and I’ll check the logs.

Cheers,

-J


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.

Jon Free

WasteSource

07931 925257 | 0117 205 0259

wastesource.co.uk http://www.wastesource.co.uk/?footer=jf | @wastesource
https://twitter.com/#!/WasteSource

Loft 3, Tobacco Factory, Bristol, BS3 1TF

Information in this email is confidential and intended for the sole use of
the addressee/s. Access, copying, disclosure or re-use, in any way, of the
contents of this email by anyone other than the addressee/s is
unauthorised. I accept no legal responsibility for the content of the
message. If you have received this email in error, please return it to the
sender.

Hi Girish,

I’ve had a search through our logs and I’m not seeing any API requests for
your app around that time.
Could you confirm whether your requests are being sent to our production or
sandbox environment?

Also, it would be helpful if you could provide a santised example of your
request and the response you’re receiving from FreeAgent?

Thanks,
Dave J

Hi David,

Thank you for your quick response.

I have found problem. It was an issue in my import script to get Free Agent
ID of customer. This has been fixed now.

Thanks.

Best regards,

Girish Sarvaiya
Sr. ASP.NET Developer

Direct: +1-718-509-9216

Skype: ps97-girish.s

URL: www.pulsesolutions.com
Email: girish.sarvaiya@pulsesolutions.net

Need more traffic? Free web promotion tips on Facebook Tue, Nov 25, 2014 at 4:33 PM, David Jones david.jones@freeagent.com wrote:

Hi Girish,

I’ve had a search through our logs and I’m not seeing any API requests for
your app around that time.
Could you confirm whether your requests are being sent to our production
or sandbox environment?

Also, it would be helpful if you could provide a santised example of your
request and the response you’re receiving from FreeAgent?

Thanks,
Dave J


You received this message because you are subscribed to a topic in the
Google Groups “FreeAgent API” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/freeagent_api/DXjS9XAxVBk/unsubscribe.
To unsubscribe from this group and all its topics, 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.

Hi Jon,

That’s a little worrying. Can you give me an example request (minus
sensitive info) and the time it was made and I’ll check the logs.

Cheers,

-J

Thanks for that Jon,

I’m seeing about 200 hits in the logs against the invoices endpoint and
with that app name. Every single one is happily reporting a 200 response,
and I can’t see anything that would indicate a problem in what we’re
sending back.

Can you give me a specific response that was causing you problems? Happy to
take this to direct email if you’d prefer - jonathan at freeagent dot com

-JOn Thu, Nov 13, 2014 at 12:32 PM, Jon Free jon.free@wastesource.co.uk wrote:

Our app is called ‘CORE’

On 12 November 2014 20:11, Jonathan Barrett jonathan@freeagent.com wrote:

Okay, I’m seeing a few hundred API requests in that minute in the logs.
Can you confirm your app name please?


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.

Jon Free

WasteSource

07931 925257 | 0117 205 0259

wastesource.co.uk http://www.wastesource.co.uk/?footer=jf | @wastesource
https://twitter.com/#!/WasteSource

Loft 3, Tobacco Factory, Bristol, BS3 1TF

Information in this email is confidential and intended for the sole use of
the addressee/s. Access, copying, disclosure or re-use, in any way, of the
contents of this email by anyone other than the addressee/s is
unauthorised. I accept no legal responsibility for the content of the
message. If you have received this email in error, please return it to the
sender.


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.

Jonathan Barrett, Senior Engineer

FreeAgent: Accounting software, simplified

+44 (0)131 447 0011

Follow us on Twitter: @freeagent https://twitter.com/freeagent

FreeAgent Central Ltd, 40 Torphichen Street, Edinburgh EH3 8JB
Registered in Scotland SC316774

Okay, I’m seeing a few hundred API requests in that minute in the logs. Can
you confirm your app name please?

Jonathan,

I have the code in a try catch block so I’m going to separate the FreeAgent
exceptions and log them to try and get more of an insight into why it
fails. It’s not real issue for us as it simply runs to find out the paid
status of the invoices. It runs ever hour so will get re run later that day
anyway.

Cheers

JonOn 13 November 2014 12:44, Jonathan Barrett jonathan@freeagent.com wrote:

Thanks for that Jon,

I’m seeing about 200 hits in the logs against the invoices endpoint and
with that app name. Every single one is happily reporting a 200 response,
and I can’t see anything that would indicate a problem in what we’re
sending back.

Can you give me a specific response that was causing you problems? Happy
to take this to direct email if you’d prefer - jonathan at freeagent dot com

-J

On Thu, Nov 13, 2014 at 12:32 PM, Jon Free jon.free@wastesource.co.uk wrote:

Our app is called ‘CORE’

On 12 November 2014 20:11, Jonathan Barrett jonathan@freeagent.com wrote:

Okay, I’m seeing a few hundred API requests in that minute in the logs.
Can you confirm your app name please?


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.

Jon Free

WasteSource

07931 925257 | 0117 205 0259

wastesource.co.uk http://www.wastesource.co.uk/?footer=jf |
@wastesource https://twitter.com/#!/WasteSource

Loft 3, Tobacco Factory, Bristol, BS3 1TF

Information in this email is confidential and intended for the sole use
of the addressee/s. Access, copying, disclosure or re-use, in any way, of
the contents of this email by anyone other than the addressee/s is
unauthorised. I accept no legal responsibility for the content of the
message. If you have received this email in error, please return it to the
sender.


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.

Jonathan Barrett, Senior Engineer

FreeAgent: Accounting software, simplified
www.freeagent.com

+44 (0)131 447 0011

Follow us on Twitter: @freeagent https://twitter.com/freeagent

FreeAgent Central Ltd, 40 Torphichen Street, Edinburgh EH3 8JB
Registered in Scotland SC316774


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.

Jon Free

WasteSource

07931 925257 | 0117 205 0259

wastesource.co.uk http://www.wastesource.co.uk/?footer=jf | @wastesource
https://twitter.com/#!/WasteSource

Loft 3, Tobacco Factory, Bristol, BS3 1TF

Information in this email is confidential and intended for the sole use of
the addressee/s. Access, copying, disclosure or re-use, in any way, of the
contents of this email by anyone other than the addressee/s is
unauthorised. I accept no legal responsibility for the content of the
message. If you have received this email in error, please return it to the
sender.

I am having problem while import invoices & customers.

My App name: commerciallinen

Last error returns on: 11/25/2014 4:14:59 AM

Please advise.

Thanks.On Wednesday, November 12, 2014 11:50:39 PM UTC+5:30, Jon Free wrote:

Yo,

The web service has randomly returned me a ream of non existing objects
several times in the past week or two. Is this a known issue? Has there
been down time?

We run a couple of automated tasks, one which creates invoices and one
which simply gets some to see what status they are in.

Any input much appreciated.

Thanks

Jon Free

WasteSource

07931 925257 | 0117 205 0259

wastesource.co.uk http://www.wastesource.co.uk/?footer=jf | @wastesource
https://twitter.com/#!/WasteSource

Loft 3, Tobacco Factory, Bristol, BS3 1TF

Information in this email is confidential and intended for the sole use of
the addressee/s. Access, copying, disclosure or re-use, in any way, of the
contents of this email by anyone other than the addressee/s is
unauthorised. I accept no legal responsibility for the content of the
message. If you have received this email in error, please return it to the
sender.

That’s great, thanks. As I say, we’re not seeing any “exception”
responses at our end (everything in that window from you seems to be 200
OK), so it would be good to understand what we are sending back.

Cheers,

-JOn Thu, Nov 13, 2014 at 12:51 PM, Jon Free jon.free@wastesource.co.uk wrote:

Jonathan,

I have the code in a try catch block so I’m going to separate the
FreeAgent exceptions and log them to try and get more of an insight into
why it fails. It’s not real issue for us as it simply runs to find out the
paid status of the invoices. It runs ever hour so will get re run later
that day anyway.

Cheers

Jon

On 13 November 2014 12:44, Jonathan Barrett jonathan@freeagent.com wrote:

Thanks for that Jon,

I’m seeing about 200 hits in the logs against the invoices endpoint and
with that app name. Every single one is happily reporting a 200 response,
and I can’t see anything that would indicate a problem in what we’re
sending back.

Can you give me a specific response that was causing you problems? Happy
to take this to direct email if you’d prefer - jonathan at freeagent dot com

-J

On Thu, Nov 13, 2014 at 12:32 PM, Jon Free jon.free@wastesource.co.uk wrote:

Our app is called ‘CORE’

On 12 November 2014 20:11, Jonathan Barrett jonathan@freeagent.com wrote:

Okay, I’m seeing a few hundred API requests in that minute in the logs.
Can you confirm your app name please?


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.

Jon Free

WasteSource

07931 925257 | 0117 205 0259

wastesource.co.uk http://www.wastesource.co.uk/?footer=jf |
@wastesource https://twitter.com/#!/WasteSource

Loft 3, Tobacco Factory, Bristol, BS3 1TF

Information in this email is confidential and intended for the sole use
of the addressee/s. Access, copying, disclosure or re-use, in any way, of
the contents of this email by anyone other than the addressee/s is
unauthorised. I accept no legal responsibility for the content of the
message. If you have received this email in error, please return it to the
sender.


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.

Jonathan Barrett, Senior Engineer

FreeAgent: Accounting software, simplified
www.freeagent.com

+44 (0)131 447 0011

Follow us on Twitter: @freeagent https://twitter.com/freeagent

FreeAgent Central Ltd, 40 Torphichen Street, Edinburgh EH3 8JB
Registered in Scotland SC316774


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.

Jon Free

WasteSource

07931 925257 | 0117 205 0259

wastesource.co.uk http://www.wastesource.co.uk/?footer=jf | @wastesource
https://twitter.com/#!/WasteSource

Loft 3, Tobacco Factory, Bristol, BS3 1TF

Information in this email is confidential and intended for the sole use of
the addressee/s. Access, copying, disclosure or re-use, in any way, of the
contents of this email by anyone other than the addressee/s is
unauthorised. I accept no legal responsibility for the content of the
message. If you have received this email in error, please return it to the
sender.


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.

Jonathan Barrett, Senior Engineer

FreeAgent: Accounting software, simplified

+44 (0)131 447 0011

Follow us on Twitter: @freeagent https://twitter.com/freeagent

FreeAgent Central Ltd, 40 Torphichen Street, Edinburgh EH3 8JB
Registered in Scotland SC316774

Our app is called 'CORE’On 12 November 2014 20:11, Jonathan Barrett jonathan@freeagent.com wrote:

Okay, I’m seeing a few hundred API requests in that minute in the logs.
Can you confirm your app name please?


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.

Jon Free

WasteSource

07931 925257 | 0117 205 0259

wastesource.co.uk http://www.wastesource.co.uk/?footer=jf | @wastesource
https://twitter.com/#!/WasteSource

Loft 3, Tobacco Factory, Bristol, BS3 1TF

Information in this email is confidential and intended for the sole use of
the addressee/s. Access, copying, disclosure or re-use, in any way, of the
contents of this email by anyone other than the addressee/s is
unauthorised. I accept no legal responsibility for the content of the
message. If you have received this email in error, please return it to the
sender.