User Import/Export extension: OPTIONS error

I am trying to export all users from a tenant. I installed the extension and I try to export all users using default fields.

In Chrome network tab i see following errors -
Failed to load resource: the server responded with a status of 404 (). https://visaglobal.au.auth0.com/api/v2/jobs/users-exports

Failed to load https://visaglobal.au.auth0.com/api/v2/jobs/users-exports: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://visaglobal.au.webtask.io’ is therefore not allowed access. The response had HTTP status code 404.

Uncaught (in promise) Error: Network Error
at e.exports ((index):10)
at XMLHttpRequest.p.onerror ((index):10)

I did a direct call to that endpoint (no extension) and was able to reproduce the issue; we are currently reviewing this situation. Thanks for bringing this to our attention.

A quick update on this; the underlying issue was identified and we’re working on addressing this situation.

According to my tests this should now be resolved.

Err… yes now when i click export with default fields, pop shows success. And then it shows a Download buttion. Now when i press on Download button, page refreshes but no file is downloaded :frowning:

I can first see a complete status response -
{“type”:“users_export”,“status”:“completed”,“format”:“json”,“fields”:[{“name”:“user_id”,“export_as”:“Id”},{“name”:“given_name”,“export_as”:“Given Name”},{“name”:“family_name”,“export_as”:“Family Name”},{“name”:“nickname”,“export_as”:“Nickname”},{“name”:“name”,“export_as”:“Name”},{“name”:“email”,“export_as”:“Email”},{“name”:“email_verified”,“export_as”:“Email Verified”},{“name”:“picture”,“export_as”:“Picture”},{“name”:“identities[0].connection”,“export_as”:“Connection”},{“name”:“created_at”,“export_as”:“Created At”},{“name”:“updated_at”,“export_as”:“Updated At”}],“created_at”:“2018-03-22T09:38:51.036Z”,“id”:“job_emQdV9VDz5gqbrg2”}

This is followed by below request when i click download button -
https://visaglobal.au.webtask.io/auth0-user-import-export/undefined

My bad, as you might be imagining I only checked that the endpoint did not return a 404. I’ll follow up with this and keep this topic updated.

Okay, so I now tried the full flow (opening extension, exporting and then downloading) and had no issues; let me know otherwise.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.