Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line: 55, Column: 1 System.NoDataFoundException: Data Not Available: #2

Closed
yadavnarveer opened this issue Oct 5, 2016 · 6 comments
Closed

Comments

@yadavnarveer
Copy link

Hi Ben,

Thanks for your awesome code.

Have follow your steps and deployed the package in my production org and this is working fine and as expected.But when i deployed the package in sandbox and try to fetch contact etc it is giving error

Line: 55, Column: 1
System.NoDataFoundException: Data Not Available: The data you were trying to access could not be found. It may be due to another user deleting the data or a system error. If you know the data is not deleted but cannot access it, please look at our support page.

Can you please guide for same.

Regards
Narveer

@densonclan
Copy link

I have the same issue:

Line: 40, Column: 1
System.NoDataFoundException: Data Not Available: The data you were trying to access could not be found. It may be due to another user deleting the data or a system error. If you know the data is not deleted but cannot access it, please look at our support page.

@densonclan
Copy link

densonclan commented Nov 1, 2017

Seems to be related to signing into Xero

11:29:51.1 (101607813)|FATAL_ERROR|System.NoDataFoundException: Data Not Available: The data you were trying to access could not be found. It may be due to another user deleting the data or a system error. If you know the data is not deleted but cannot access it, please look at our support page.

Class.System.Crypto.signWithCertificate: line 40, column 1
Class.XeroOAuthUtility.generateSignature: line 85, column 1
Class.XeroOAuthUtility.signRequest: line 42, column 1
Class.XeroCalloutUtility.executeCallout: line 54, column 1
Class.XeroAccountingApi.createContact: line 75, column 1
Class.SFtoXero.createContact: line 10, column 1
AnonymousBlock: line 1, column 1
AnonymousBlock: line 1, column 1

@densonclan
Copy link

Hi

I've found the solution to this, it seems the certificate has to be named XeroCertificate otherwise it will not work.

Thanks

Barry

@benedwards44
Copy link
Owner

Yep, and it even says that in the Setup guide 😀

@densonclan
Copy link

Hi Ben

Could you change the setup guide to make it clear that this is important. I did see the certificate name in the guide but didn't realise it was critical.

Might help others avoid making the same mistake I did.

Thanks

Barry

@Srilatha28
Copy link

Hi,
I am just wondering which Certificate you are talking about? because I have not set any certificate here as you did not mention in the read me file.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants