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

No provider found for id account exception #4165

Open
melroy89 opened this issue Sep 27, 2024 · 0 comments
Open

No provider found for id account exception #4165

melroy89 opened this issue Sep 27, 2024 · 0 comments
Labels

Comments

@melroy89
Copy link
Contributor

Describe the bug

I get a lot of errors No provider found for id account in my log when using Nextcloud 30 together with the latest Contact app. Contacts app seems to trigger the issue after some investigation.

Steps to reproduce

  1. Use the latest NC30 and your Contacts app
  2. Go to 'All contacts' in the Contact app
  3. See errors appear in the logging: "No provider found for id account"
  4. Inspecting the network tab in the developer tool shows HTTP request: https://<domain>/ocs/v2.php/teams/resources/account/<contact-name>, which is using this server API end-point: https://github.com/nextcloud/server/blob/master/core/Controller/TeamsApiController.php#L65. And the /resources/{providerId}/{resourceId} is /resources/account/<contact-name>. For some reason accounts is an invalid provider identifier now.
  5. Clicking on "Contacts settings" -> Address books -> It does show the address books called "Accounts". Meaning this address book is present, but I'm unsure what is meant by provider ID in this case. I only know that accounts is causing 500 internal server errors.

Expected behavior

No exceptions, no 500 errors.

Actual behavior

HTTP request https://<domain.com>/ocs/v2.php/teams/resources/account/<user> returning responses:

<?xml version="1.0"?>
<ocs>
 <meta>
  <status>failure</status>
  <statuscode>500</statuscode>
  <message>Internal Server Error
</message>
 </meta>
 <data/>
</ocs>

Log is showing:

image

Contact version

6.1.0

Operating system

Ubuntu server 22.04

PHP engine version

PHP 8.3

Web server

Nginx

Database

MariaDB

Additional info

Related issue: nextcloud/server#48039 (but I think it's a Contacts app issue, is it?).

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

No branches or pull requests

1 participant