Skip to content

Bug: Unauthenticated error when importing an item from FairCopy Cloud #624

@ajolipa

Description

@ajolipa

Reported by a user who is a project owner and therefore ought to have update permissions: When attempting to import CSVs from FairCopy Cloud, the analyze_import method returned this error:

May 17 05:31:48 PM core-data-cloud-production heroku/router at=info method=GET path="/core_data/items/22393/analyze_import" host=app.coredata.cloud request_id=3611aaed-8d18-58d7-700e-c9a0ba0508e2 fwd="172.59.2.57" dyno=web.1 connect=0ms service=920ms status=400 bytes=108 protocol=http2.0 tls=true tls_version=tls1.3
May 17 05:31:48 PM core-data-cloud-production app/web.1 E, [2026-05-17T21:31:48.194544 #15] ERROR -- : [3611aaed-8d18-58d7-700e-c9a0ba0508e2] CoreDataConnector::ItemsController - Pundit::NotAuthorizedError: You do not have permission to import these records. Please contact your system administrator.

This is possibly caused by some subtle timing issue relating to how Clerk tokens are refreshed every 30 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions