Hi,
I’m trying to write my first app.
The app i would like to create Will send an email to a partner outside Asna by using my SMTP server.
The mail will be send when a task arrive in a section.
For the moment I can’t view the rule action form.
I use for testing purpose this URL : https://cours-espagnol.online/metadata
The JSON looks OK but when I try to add the action “Send Mail” from my ap Task2Mail I’ve got an error : Something went wrong. Try again later.
I have no Auth for the moment
Your link gives a 502 error, it might be because you run the server locally? I’d like to help but can’t see the JSON.
- you can definitely not write anything in the Auth field when setting up the app but when you’ll submit it (if you ever do) it will be required (I wish it wouldn’t)
- +1 on what Phil says, the error you see is pretty generic, you’ll need the UI Builder to debug. But first make sure that your endpoint actually returns something, in my case it doesn’t.
@Joachim_HENRY I successfully built an app doing exactly what you are doing, so keep the questions coming! My app looks like this, it is called “Nestor” and we might release it at one point.
Hi,
I used the UI builder and gave me no error.
The JSON server was down (it’s a test server ) but now the json is delivering.
{
"metadata": {
"fields": [
{
"id": "mailexp",
"is_required": true,
"name": "Adresse mail expediteur (ird.fr)",
"placeholder": "john.doe@ird.fr",
"type": "single_line_text",
"value": "",
"width": "full"
},
{
"id": "maildest",
"is_required": true,
"name": "Single-line text field",
"placeholder": "support@ct.fr",
"type": "single_line_text",
"value": "",
"width": "full"
}
]
},
"template": "form_metadata_v0"
}
My problem should be the lack of auth.
I don’t know how it works (I’m not a dev but an ops using dev stuff
)
I should read more about it.
Yes, I’ll bet that’s it. Look at the Personal Access Token; that’s the easier type of authorization to do, compared to OAuth.