HumanSignal / HumanSignal/label-studio
“Runtime error — this.getData is not a function” when using AI features on Label Studio Cloud
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**Describe the bug**
When using Label Studio Cloud’s AI feature (AI chat or AI labeling interface generation), the page crashes and displays a runtime error:
```
TypeError: this.getData is not a function
```
---
**Steps to Reproduce**
1. Log in to **Label Studio Cloud** at [https://app.humansignal.com/](https://app.humansignal.com)
2. Open a project that uses **AI features**
3. Try to interact with **Chat with AI** or **Generate Labeling Interface**
4. Observe the error message and page crash
---
**Expected behavior**
The AI assistant should respond normally or generate the labeling interface as requested — without showing an error screen.
---
**Actual behavior**
The application displays a **runtime error** with the message:
> TypeError: this.getData is not a function
The interface becomes unusable until you reload or go back.
---
**Screenshot**
---
**Environment**
* **Platform:** Label Studio Cloud ([https://app.humansignal.com/](https://app.humansignal.com))
* **Feature:** Chat with AI / Generate Labeling Interface
* **Browser:** Chrome (latest version)
* **Operating System:** (e.g. macOS, Windows, etc.)
* **Label Studio Cloud version:** (visible at bottom right of dashboard if accessible)
---
**Additional context**
* The issue appeared immediately after trying to use AI-related functionality in Label Studio Cloud.
* Reloading the page does not resolve the issue.
* This may be related to a JavaScript or React component where `this.getData` is undefined or not bound correctly.
---
Contributor guide
Assessment
This issue has not been assessed yet.