Comments (6)
Hi
I've found the solution to this, it seems the certificate has to be named XeroCertificate otherwise it will not work.
Thanks
Barry
from apex-for-xero.
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.
from apex-for-xero.
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
from apex-for-xero.
Yep, and it even says that in the Setup guide 😀
from apex-for-xero.
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
from apex-for-xero.
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,
from apex-for-xero.
Related Issues (20)
- Invalid :Type XeroContact
- Tests
- You are a bloody legend. Thanks for sharing!
- Not find "Manage on Xero Settings" HOT 4
- Cannot deploy to SalesForce HOT 1
- Cannot deploy to SalesForce HOT 2
- Xero OAuth 1 Endpoint Depreciated HOT 2
- Contact not inserting in SF
- oAuth1.0a is Deprecated HOT 1
- Other endpoints HOT 1
- How do you even get this to work HOT 1
- Issue with not being authorised HOT 1
- Token not refreshed
- Trying to get tenant Id I now get a 301 Moved Permanently HOT 1
- Test Class for XeroContact
- Apex class to XML Format is not as expected HOT 2
- Paging Get Results
- Test Failure deploying to production HOT 1
- Deployment Errors HOT 1
- Errors when trying to insert invoices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apex-for-xero.