This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Hello!
I've created a dashboard and a streaming dataset on https://app.powerbi.com/. When I try to push data from C#/Python to that dataset it works perfectly, but if I try to use Typescript, it keeps giving me the 404 NOT FOUND, on the same streaming dataset push URL.
public sendPowerBi(url: string, data: any) {
return this.http
.put(url, JSON.stringify(data), { headers: this.headers }).subscribe();
}where
this.headers = new Headers({
'Content-Type': 'application/json',
});Here I don't have an access token. Can you please give me a suggestion?
Hello!
I've created a dashboard and a streaming dataset on https://app.powerbi.com/. When I try to push data from C#/Python to that dataset it works perfectly, but if I try to use Typescript, it keeps giving me the 404 NOT FOUND, on the same streaming dataset push URL.
public sendPowerBi(url: string, data: any) {
return this.http
.put(url, JSON.stringify(data), { headers: this.headers }).subscribe();
}where
this.headers = new Headers({
'Content-Type': 'application/json',
});Here I don't have an access token. Can you please give me a suggestion?
Hi @Kalemstorm,
Could you try using POST requests instead of PUT to push your data to Power BI streaming data dataset you created to see if it works? ![]()
public sendPowerBi(url: string, data: any) {
return this.http
.post(url, JSON.stringify(data), { headers: this.headers }).subscribe();
}
Regards
I've already tried that. Actually, I've tried it before PUT and I've asked the question only after...
Thank you! I've asked the question there
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |