# Invalid credentials message from Wikidata

**URL:** <https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404>\
**Category:** Support and Helpdesk\
**Tags:** wikidata\
**Created:** [July 9, 2025, 1:33pm UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404 "2025-07-09T13:33:07Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![Rory](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/rory/32/1517_2.png) [@Rory](https://forum.openrefine.org/u/Rory)\
**Post date:** [September 2, 2025, 11:16pm UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404/22 "2025-09-02T23:16:38Z")

</div>

Hi all, we just cut a new release that should address this issue. You can find links to the new version on the download page: [Download | OpenRefine](https://openrefine.org/download)

Thank you to everyone for your patience, and special thanks to the folks who reported the issue as well as @abbe98 and @tfmorris for their efforts to triage and remediate this issue!

---

<div class="post-metadata">

**Author:** ![AntonioGF](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/antoniogf/32/1627_2.png) [@AntonioGF](https://forum.openrefine.org/u/AntonioGF)\
**Post date:** [September 3, 2025, 5:57am UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404/23 "2025-09-03T05:57:33Z")

</div>

Thanks so much, Rory

---

<div class="post-metadata">

**Author:** ![ConBo](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/conbo/32/1678_2.png) [@ConBo](https://forum.openrefine.org/u/ConBo)\
**Post date:** [September 3, 2025, 7:05am UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404/24 "2025-09-03T07:05:36Z")

</div>

Thanks everyone for looking into this issue and solving it so fast.

---

<div class="post-metadata">

**Author:** ![Fbethke](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@Fbethke](https://forum.openrefine.org/u/Fbethke)\
**Post date:** [September 3, 2025, 11:44am UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404/25 "2025-09-03T11:44:33Z")

</div>

Big Thanks to @Rory and the others.  
Just one question, before I install the new release. Do I lose my project history if I install the new version? I have a couple of unfinished projects that I want to upload. See below the screenshot. Or shall I export backup files with the old version and import them into the new version?  
Thx for help.  
Best,  
Felix

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/openrefine/original/2X/6/6be0db5c570057a59d4c9211c9d3392a3fa4e843.png)

---

<div class="post-metadata">

**Author:** ![Fbethke](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@Fbethke](https://forum.openrefine.org/u/Fbethke)\
**Post date:** [September 3, 2025, 11:52am UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404/26 "2025-09-03T11:52:56Z")

</div>

Nevermind, I think I found the respective infos here:  
[Installing OpenRefine | OpenRefine](https://openrefine.org/docs/manual/installing#back-up-your-data)

---

<div class="post-metadata">

**Author:** ![Ambrosia10](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@Ambrosia10](https://forum.openrefine.org/u/Ambrosia10)\
**Post date:** [September 3, 2025, 7:38pm UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404/27 "2025-09-03T19:38:47Z")

</div>

I just wanted to pass on my thanks to you and all the others who have worked on solving this issue. Also thanks @abbe98 for keeping the OpenRefine-Wikimedia telegram group updated. I VERY much appreciate how speedily this issue was resolved.

---

<div class="post-metadata">

**Author:** ![tfmorris](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/tfmorris/32/17_2.png) [@tfmorris](https://forum.openrefine.org/u/tfmorris)\
**Post date:** [September 3, 2025, 8:01pm UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404/28 "2025-09-03T20:01:27Z")

</div>

> > ![](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/rory/45/1517_2.png "Rory") | [Rory](https://forum.openrefine.org/u/rory)  
> > September 2 |
> > 
> > - | - |
> 
> > ![](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/sarathomas/48/720_2.png)SaraThomas:
> > 
> > Can I assume that when this issue is resolved for Wikidata that it will also resolve Wikimedia Commons
> 
> I think there will be an update required to the CommonsExtension as well, but I haven’t worked on that extension so I’ll let someone more familiar with that code to verify.

I'm not familiar with the CommonsExtension either, but it wouldn't surprise me if it's depending on the default user agent provided by the Wikidata Toolkit.  
This would mean that it could be subject to future restrictions by Wikimedia (they discourage library default user strings).  
Whoever is currently maintaining this extension should review its usage of WDTK.

Tom

---

<div class="post-metadata">

**Author:** ![abbe98](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/abbe98/32/1299_2.png) [@abbe98](https://forum.openrefine.org/u/abbe98)\
**Post date:** [September 5, 2025, 12:45pm UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404/29 "2025-09-05T12:45:35Z")

</div>

There is a pre-release for the Commons extension fixing its issues here: [Release Commons extension 0.1.5 - prerelease · OpenRefine/CommonsExtension · GitHub](https://github.com/OpenRefine/CommonsExtension/releases/tag/v0.1.5)

I will make a proper release once I get a few more positive reports.

---

<div class="post-metadata">

**Author:** ![HelsKRW](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/helskrw/32/119_2.png) [@HelsKRW](https://forum.openrefine.org/u/HelsKRW)\
**Post date:** [September 12, 2025, 11:33am UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404/30 "2025-09-12T11:33:23Z")

</div>

I’ve installed the new version of OpenRefine, and successfully uploaded from OpenRefine to Wikidata 2 days ago, but this morning I’m getting the Bad token: Invalid CSRF token this morning. Is anyone able to advise on a solution? Thanks!

---

<div class="post-metadata">

**Author:** ![ConBo](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/conbo/32/1678_2.png) [@ConBo](https://forum.openrefine.org/u/ConBo)\
**Post date:** [September 15, 2025, 8:56am UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404/31 "2025-09-15T08:56:51Z")

</div>

I have no problems logging in with a bot password. Are you using that, or the general login?

---

<div class="post-metadata">

**Author:** ![HelsKRW](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/helskrw/32/119_2.png) [@HelsKRW](https://forum.openrefine.org/u/HelsKRW)\
**Post date:** [September 15, 2025, 9:16am UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404/32 "2025-09-15T09:16:29Z")

</div>

Thank you @ConBo . I was logged in with my general login, but your message prompted me to log out and try once more, before trying to use the bot password instead, and this morning the edits have uploaded, so hopefully this is ok again. I’ll try and prepare another load this week to check that runs without problems. Thank you again.

---

<div class="post-metadata">

**Author:** ![DanielJack](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/danieljack/32/1859_2.png) [@DanielJack](https://forum.openrefine.org/u/DanielJack)\
**Post date:** [April 9, 2026, 11:01am UTC](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404/33 "2026-04-09T11:01:30Z")

</div>

Glad that did the trick! Sounds like everything’s back on track now. Good idea testing another batch, hopefully it runs smoothly this time too.

[Previous page](https://forum.openrefine.org/t/invalid-credentials-message-from-wikidata/2404.md?page=1)
