# Command prompt tools exits due to not obtaining organization key

**URL:** <https://forum.mapillary.com/t/command-prompt-tools-exits-due-to-not-obtaining-organization-key/4714>\
**Category:** Contributing and equipment\
**Created:** [March 18, 2021, 9:24am UTC](https://forum.mapillary.com/t/command-prompt-tools-exits-due-to-not-obtaining-organization-key/4714 "2021-03-18T09:24:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ksw1](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@ksw1](https://forum.mapillary.com/u/ksw1)\
**Post date:** [March 18, 2021, 9:24am UTC](https://forum.mapillary.com/t/command-prompt-tools-exits-due-to-not-obtaining-organization-key/4714/1 "2021-03-18T09:24:47Z")

</div>

I have tried to upload 3,000 images via the command prompt mapillary tools.

In the past i have been facing no problems using this method, but this time the command prompt exist, putting an error message “error, could not obtain organization key, exiting…”.

I have an organization and a organization key, so this is a mystery to me.

I’m using the code:  
mapillary\_tools process\_and\_upload --import\_path “path” --user\_name fur1ksw1 --advanced --organization\_username furesoekommune

Have anybody experienced this?

---

<div class="post-metadata">

**Author:** ![joostjakob](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/joostjakob/32/68276_2.png) [@joostjakob](https://forum.mapillary.com/u/joostjakob)\
**Post date:** [May 4, 2021, 7:45pm UTC](https://forum.mapillary.com/t/command-prompt-tools-exits-due-to-not-obtaining-organization-key/4714/2 "2021-05-04T19:45:45Z")

</div>

I had the same issue before, which I fixed without really doing anything. I now have the same issue as you have. I don’t seem to be able to sign out completely and sign in again. Did you get this fixed?

EDIT: this undocumented command forces a new sign in try:  
`mapillary_tools --advanced authenticate --force_overwrite`  
Just signing out and in again and that fixed the issue. Stumbled upon it here: [authentication seems do be broken · Issue #337 · mapillary/mapillary\_tools · GitHub](https://github.com/mapillary/mapillary_tools/issues/337)
