I'm new to the Make enviroment. I'm trying to send a Whatsapp Message with this template.
Te dejamos tu numero de seguimiento: {{1}}
Recordá que para verificar su estado, tenés que ingresar a:
andreani.com
oca.com.ar
Tu numero de pedido es # {{2}} si necesitas hacer una consulta.
This is my code:
{
"messaging_product": "whatsapp",
"to": "{{2.countryCallingCode}}{{2.phone}}", "type": "template",
"template": {
"name": "ecommerce_delivery",
"language": {
"code": "es"
},
"components": [{
"type": "body",
"parameters": [{
"type": "text",
"text": "{{1.metaData[33].value}}"
},{
"type": "text",
"text": "{{1.id}}"
}]
}
]
}
When I test it, I get this.
"error":{"message":"(#100) The parameter messaging_product is required.","type":"OAuthException"
I can send the message with this code, but it just the template without variables.
{
"messaging_product": "whatsapp",
"to": "543815462685", "type": "template",
"template": {
"name": "hello_world",
"language": {
"code": "en_US"
}
}
}
Related
I'm having some trouble using prisma and planetscale
{
"id": 1,
"name": "Flor Esmaltada",
"price": 75,
"image": "https://ik.imagekit.io/gabriellazcano/imajo/Flor_2/flor_2_blanca_transparente_5RPp4nKfA.png",
"description": "Flor de plata 925 con piedra austriaca en muchisimos colores, elige los que más te gusten. Hechos a mano en México.",
"categories": [
"piedras"
],
"alternativeImages": [
"https://ik.imagekit.io/gabriellazcano/imajo/flor_con_tallo/flor_con_tallo_lado_Hx8HBrH7e.png",
"https://ik.imagekit.io/gabriellazcano/imajo/flor_con_tallo/flor_con_tallo_lateral_CP5MsqTGQ.png"
],
"colors": []
}
Im getting this object in dev
{
"id": 1,
"name": "Flor Esmaltada",
"price": 75
}
And this one in production
In planescale shell I'm getting the first schema and all the objects are there but when deployed to Vercel it only shows those 3 fields
I'm expecting having the first schema on production
I'm making a request in the api following this documentation and I'm getting the following error
https://learn.microsoft.com/en-us/linkedin/compliance/integrations/groups/group-posts-and-actions?context=linkedin%2Fcompliance%2Fcontext
Request
{
"author": "urn:li:person:123ABC",
"containerEntity": "urn:li:group:123",
"lifecycleState": "PUBLISHED",
"specificContent": {
"com.linkedin.ugc.ShareContent": {
"media": [
{
"description": {
"attributes": [],
"text": "Check out our awesome group!"
},
"status": "READY",
"thumbnails": [],
"title": {
"attributes": [],
"text": "Group Post!"
}
}
],
"shareCommentary": {
"attributes": [],
"text": "Some group text"
}
}
},
"visibility": {
"com.linkedin.ugc.MemberNetworkVisibility": "CONTAINER"
}
}
response
Unpermitted fields present in REQUEST_BODY: Data Processing Exception while processing fields [/containerEntity]
I have swagger api-docs.json definition generated by SpringFox.
Below minimal-reproducible-example:
{
"swagger": "2.0",
"info": {
"description": "Example REST API.",
"version": "15.11.02",
"title": "Example REST API",
"contact": {
"name": "ExampleTeam",
"url": "https://example.com/",
"email": "support#example.com"
},
"license": {
"name": "Apache License 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.txt"
}
},
"host": "d01088db.ngrok.io",
"basePath": "/cloud",
"tags": [
{
"name": "All Endpoints",
"description": " "
}
],
"paths": {
"/api/v2/users/{userId}/jobs/{jobId}": {
"get": {
"tags": [
"Builds",
"All Endpoints"
],
"summary": "Get job.",
"operationId": "getJobUsingGET",
"produces": [
"*/*"
],
"parameters": [
{
"name": "jobId",
"in": "path",
"description": "jobId",
"required": true,
"type": "integer",
"format": "int64"
},
{
"name": "userId",
"in": "path",
"description": "userId",
"required": true,
"type": "integer",
"format": "int64"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/APIPipelineJob"
}
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
},
"deprecated": false
}
}
},
"definitions": {
"APIPipelineJob": {
"type": "object",
"properties": {
"archiveTime": {
"type": "string",
"format": "date-time",
"example": "example"
},
"content": {
"type": "string",
"example": "example"
},
"createTime": {
"type": "string",
"format": "date-time",
"example": "example"
},
"id": {
"type": "integer",
"format": "int64",
"example": "example"
},
"name": {
"type": "string",
"example": "example"
},
"selfURI": {
"type": "string",
"example": "example"
},
"type": {
"type": "string",
"example": "example",
"enum": [
"BUILD",
"DEPLOY"
]
},
"userId": {
"type": "integer",
"format": "int64",
"example": "example"
}
},
"title": "APIPipelineJob",
"xml": {
"name": "APIPipelineJob",
"attribute": false,
"wrapped": false
}
}
}
}
When I import it to SwaggerHub I got standardization error:
'definitions.*' not allowed -> API must not have local definitions (i.e. only $refs are allowed)
I have found the recommended solution in SwaggerHub documentation
But here is my question how to achieve:
split into domains(then using a reference), or
inline schemas
with Springfox
Or maybe there is another way to get rid of the above standardization error?
If you go to your home page, then hover over your organization on the left hand side and go to settings > Standardization, you should see some options. Unselect "API must not have local definitions (i.e. only $refs are allowed)" at the bottom.
And don't forget to save at the top right!
When I make a call to the cloud vision web entities detection I will get different results then when I use the exact same image on the demo side (https://cloud.google.com/vision/).
Api results:
"webEntities": [
{
"entityId": "/m/069b9z",
"score": 28.432,
"description": "Muiden Castle"
},
{
"entityId": "/m/0k3p",
"score": 9.7216,
"description": "Amsterdam"
},
{
"entityId": "/m/0gvtk97",
"score": 4.6464,
"description": "Pampus"
},
{
"entityId": "/m/03w10h",
"score": 4.5328,
"description": "Stelling van Amsterdam"
},
{
"entityId": "/m/04rjz",
"score": 0.7232,
"description": "Middle Ages"
}
],
Demo result:
"webDetection": {
"webEntities": [
{
"entityId": "/m/069b9z",
"score": 28.2912,
"description": "Muiden Castle"
},
{
"entityId": "/m/06jsf",
"score": 23.7056,
"description": "Rijksmuseum"
},
{
"entityId": "/m/03w10h",
"score": 4.2744,
"description": "Stelling van Amsterdam"
},
{
"entityId": "/m/0gvtk97",
"score": 4.2264,
"description": "Pampus"
},
{
"entityId": "/g/11clg9rz1_",
"score": 1.3836,
"description": "Marina Muiderzand"
},
{
"entityId": "/m/0w0r9",
"score": 1.1220801,
"description": "Muiden"
},
{
"entityId": "/m/0grl_",
"score": 0.7032,
"description": "Château"
},
{
"entityId": "/m/0d5gx",
"score": 0.5525,
"description": "Castle"
},
{
"entityId": "/m/01k12m",
"score": 0.5256,
"description": "Dutch Golden Age"
},
{
"entityId": "/t/23p50h_kgbnhm",
"score": 0.5227
},
{
"entityId": "/m/026gg32",
"score": 0.3787,
"description": "Water castle"
},
{
"entityId": "/g/122lvp4h",
"score": 0.3709,
"description": "Dag van het Kasteel"
},
{
"entityId": "/m/0pgl9",
"score": 0.3558,
"description": "Tourist attraction"
},
{
"entityId": "/m/0k3p",
"score": 0.103136,
"description": "Amsterdam"
},
{
"entityId": "/m/059j2",
"score": 2.0908006e-11,
"description": "Netherlands"
}
],
This is how I add the image
using (Image image = Image.FromFile(filePath))
{
using (MemoryStream m = new MemoryStream())
{
image.Save(m, image.RawFormat);
byte[] imageBytes = m.ToArray();
request.Requests[0].Image.Content = Convert.ToBase64String(imageBytes);
}
}
This happens with almost all images.
As far as I know of the only option you have, when calling the web entity detection api is the amount of results you want. But the amount has no effect on the kind of results.
The api's Label detection and landmark detection give the same answers as the demo.
Has anybody seen this behavior too?
Are there other options I missed?
Edit:
Request body:
{
"requests":[
{
"features":[
{
"type": "LABEL_DETECTION",
"maxResults":5
},
{
"type":"LANDMARK_DETECTION",
"maxResults":1
},
{
"type":"WEB_DETECTION",
"maxResults":5
}
],
"image":
{
"content":"/9j/4AAQSkZJRgABAQEAAAAAAAD/2wBDAAkGBxMSEhUTExMWFhUVGB0YGBgXGBcYGhgYGBoaGBgXHRgdHSggGB0lHRgYITEhJSkrLi4uFx8zODMtNygtLiv/2wBDAQoKCg4NDhsQEBsvJiAlLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS3/wAARCACoASsDASIAAhEBAxEB/8QAHAAAAgIDAQEAAAAAAAAAAAAABAUDBgECBwAI/8QARxAAAQIEBAQDBAgEAwUJAQAAAQIRAAMEIQUSMUEiUWFxBhOBMpGhsRQjQlLB0eHwBxVi8YKSshYzQ1NyNGNzg6Kjs8LSJP/EABoBAAIDAQEAAAAAAAAAAAAAAAMEAAECBQb/xAAtEQADAAIBAwMDAwMFAAAAAAAAAQIDESEEEjETQVEiMmEUcYEFUuEjJKGx8P/a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DUXWleZIa2qiR7Re17C3ePR6Ocs+SHwwq5QrFHMC0qU5JPFYuOTh7cvSDJqmAGYqIuEixPodtfhHo9HRmu/lmGK5ypgIQEhTjMNHII77Qwp6M5wZmUrYnKni4SLk7WDfCMx6CU+UkGmF3aJ5tVLlISCkJSDoL6izsLPE9PNKko8pIANycyQB/UQ7czdo9HolYlpMLULcr5BlYymWCEMtb+2q6E/wDSPtHrp0hBX1Sll8xKz9o3PboOkej0EmUnwdWcc412yQ+aCOpEeo0l1BuR5R6PRbWkzHUZahJoNwmVORMfKtKS9wCewIGoi2ypczLqT/5a2YBmBY5fXnHo9CGfK2/BzXTqts8nBVZuFKUgi7JSH5F+YflEs3w+6kkqQAm5BRcnncsCO0Zj0LevfyU0ek+FqXe+Y6Oq13s9vSDqaippIZCJTjmz26qc849HovvuuG2ZdaXgNlYvKTsOWhLNzbSIp+K8Qy2HMABvQxmPRfatFPLTRDNq1n7RV3t8o3kyiQzetmY93j0ejLevBJ+pkn8qdndjpfK+22sMKbCZYBJa377+sej0XK35GseKQ9MmWgBgz8o0KxcegsXv30j0egukvAfSRjOBvoP7RCgA3UNTq94zHoyU2SZADZi/Z+hiEEi2UW7fnHo9E1sjP//Z"
}
}
] }
Edit 2:
Endpoint: https://vision.googleapis.com/v1/images:annotate
I do not use a SDK.
Edit 3:
the image I used: https://www.muiderslot.nl/wp-content/uploads/2015/05/DSC5093-Muiderslot-poster.jpg
Strange thing is that I just tested the image again and now the demo also gives as second description "Amsterdam" but the 5th description is still different.
But this image still gives bigger differences: https://imgur.com/a/r76Ah
I would like to use the Freebase Api to determine if a certain thing refers to an entity (e.g. person, tv show, ...). For instance "how i met your mother" refers to a TV show, "lana del rey" is a singer. However if something is not an entity, I would like to know that as well.
Unfortunately the Freebase search api gives me quite a few false positives for things that are not clear entities, even with the parameter exact=true and prefix=false:
For instance: https://www.googleapis.com/freebase/v1/search?query=girl&exact=true
[
{
"mid": "/m/0ytdbkr",
"name": "Naked girl",
"notable": {
"name": "Film character",
"id": "/film/film_character"
},
"lang": "en",
"score": 5.222793
},
{
"mid": "/m/0y4k26c",
"name": "Sexy girl",
"notable": {
"name": "Film character",
"id": "/film/film_character"
},
"lang": "en",
"score": 4.754522
},
{
"mid": "/m/0yg73tt",
"name": "Call girl",
"notable": {
"name": "Film character",
"id": "/film/film_character"
},
"lang": "en",
"score": 4.567947
},
{
"mid": "/m/0w1sb51",
"name": "Gorgeous girl",
"notable": {
"name": "Film character",
"id": "/film/film_character"
},
"lang": "en",
"score": 4.526981
},
{
"mid": "/m/03p0tvg",
"id": "/user/girl",
"name": "girl",
"lang": "en",
"score": 4.465735
},
{
"mid": "/m/05p197",
"id": "/en/bad_girl_movies",
"name": "Bad girl movies",
"notable": {
"name": "Film genre",
"id": "/film/film_genre"
},
"lang": "en",
"score": 4.464571
},
....
]
}
What's an "exact" match in this context?
If you simply want an exact name & type match, you can get that using the MQLRead API instead of the Freebase Search API. If you're looking for something different, you need to be more specific about what you seek...