500 Internal server error!!!!
I have a script where I look up a record in a table through the API. It worked couple of days ago but now i constantly get 500 Internal server error
let ninoxProductUpdate := do as server
http("POST", "https://api.ninoxdb.de/v1/teams/" + team + "/databases/" + TestDatabase + "/tables/A/records", {
Authorization: "Bearer " + key,
'Content-Type': "application/json"
}, {
id: productId,
fields: {
A: productNumber,
C: vendorNumber,
D: NameofProduct,
F: stockCount,
G: stockLimit,
J: comments,
K: isOnSale,
L: costPrice,
M: isHidden,
R: weight,
Q: dropShipping,
X: salexCount,
Y: isGiftCertificate,
Z: salesCount,
C1: metaDescription,
D1: onFrontpage,
E1: showAsNew,
F1: retailSalesprice,
N1: text(supplierId),
R1: specialOfferPrice,
T1: text(xUdpateId),
V1: deliveryTimeOOS,
B2: isVariantMaster,
C2: createdDanDomain,
I2: danDomainId,
O2: unitPrice,
P3: longDescription,
Q3: longDescription2,
'short Description': shortDescription
}
})
end;
if contains(text(ninoxProductUpdate.error), "Error") then
alert(text("productUpdate: " + ninoxProductUpdate.error))
else
alert("Testing" + text(ninoxProductUpdate.result));
Reply
Content aside
- 4 yrs agoLast active
- 623Views