Showing results for 
Search instead for 
Did you mean: 
New Member

I want to run PutTable but I get an error

I'm sorry. I'm not very good at English.
I want to use this url API, but I get an error


I write in php and my code is like this

※I'm getting tokens


$token_header = [
'Authorization: Bearer '.$token,
'Content-Type: application/json',

$powerBIApiAddRowsUrl = "";

$rowsJson = '{
"tableName": "NewProduct",
"columns": [
"name": "ProductID",
"dataType": "Int64"
"name": "Name",
"dataType": "string"
"name": "Category",
"dataType": "string"
"name": "IsCompete",
"dataType": "bool"
"name": "ManufacturedOn",
"dataType": "DateTime"
"name": "NewColumn",
"dataType": "string"

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $powerBIApiAddRowsUrl);
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($curl, CURLOPT_POSTFIELDS, $rowsJson);
curl_setopt($curl, CURLOPT_HTTPHEADER, $token_header);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, true);
$response = curl_exec($curl);


※↓Error message

HTTP/1.1 404 Not Found
Cache-Control: no-store, must-revalidate, no-cache
Transfer-Encoding: chunked
Content-Type: application/json; odata.metadata=minimal
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Frame-Options: deny
X-Content-Type-Options: nosniff
RequestId: 06482c82-5a6a-4aec-a357-6e234498a759
OData-Version: 4.0
Access-Control-Expose-Headers: RequestId
Date: Tue, 09 Jul 2019 01:28:23 GMT

"code":"","message":"No HTTP resource was found that matches the request URI ''."


I would like to have some advice.
Thank you.


Helpful resources

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!