This SDK does not support the latest version of ExceptionLess
xrcdev opened this issue · 4 comments
When writing log, I can't found log in ExceptionLess website, I debugged Exceptionless.AspNetCore code found that the latest version of ExceptionLess I deployed has an interface address of "api/v2/projects/{ProjectId}/events", and the interface address called by the SDK is "api/v2/events", and an error occurs: "No. project id specified and no default project was found", I think this SDK does not support the latest version of ExceptionLess
Can you please attach the client logs, this SDK does support the latest version of exceptionless and it is something we test against every release.
In the appsettings.json configuration, the configuration template is as follows:
"Exceptionless": {
"ApiKey": "xxx",
"ServerUrl": "http://10.10.28.201:5200",
}
I previously set the ApiKey using a User Scoped Token, but I changed it to a Client-Scoped Token, and it worked. Therefore, I apologize, this was my mistake. I was not clear on how to use it. I have one more question, that is, how long does a Client-Scoped Token expire? I even hope that it will never expire, so I don't have to update this ApiKey configuration frequently.
@niemyjski
I hope you can answer this question. Thank you very much.
“I have one more question, that is, how long does a Client-Scoped Token expire? I even hope that it will never expire, so I don't have to update this ApiKey configuration frequently.”
They don't expire