Microsoft Flow connection issue Trello with Microsoft To Do/Outlook tasks - outlook

Could you help me - how to resolve?
I try to connect though Flow my Trello task creation to Microsoft To Do, but every time i receive issue, see below:
{
"error": {
"code": "RequestBodyRead",
"message": "A null value was found for the property named 'DateTime', which has the expected type 'Microsoft.OutlookServices.DateTime[Nullable=False]'. The expected type 'Microsoft.OutlookServices.DateTime[Nullable=False]' does not allow null values.",
"innerError": {
"request-id": "cc1d5dae-def6-4d3e-8f1b-b09ac6883bc5",
"date": "2018-05-01T10:33:38"
}
}
}

yes the Outlook Task connector expects a Due Date.
I use this expression in the Due Date field to auto assign a Due Date 7 days a
if(equals(triggerBody()?['due'], null),addDays(utcNow(),7),triggerBody()?['due'])

Related

Microsoft Teams Chat Messages Order By Query Parameter

I tried to retrieve my Ms-Teams Chat(Direct/Group) messages using Ms-Graph API along with the Query Parameter "OrderBy" to sort the response using "createdDateTime", but I faced this error.
{
"error": {
"code": "",
"message": "The query specified in the URI is not valid. Query option 'OrderBy' is not allowed. To allow it, set the 'AllowedQueryOptions' property on EnableQueryAttribute or QueryValidationSettings.",
"innerError": {
"message": "Query option 'OrderBy' is not allowed. To allow it, set the 'AllowedQueryOptions' property on EnableQueryAttribute or QueryValidationSettings.",
"date": "2020-08-20T07:28:36",
}
}
}
Is there any other way to retrieve my Ms-Teams Chat(Direct/Group) Message Response in an Ascending order with respect to the "createdDateTime"?

Unable to delete conversationMember from a private channel

I have created a private channel in a team and added members to it using the Microsoft graph beta API. But I'm not able to remove a member from the channel.
I call this method DELETE https://graph.microsoft.com/beta/teams/{teamid}/channels/{channelid}/members/{id}, but I receive this response "error": {
"code": "BadRequest",
"message": "Invalid id '{id}' provided.",
"innerError": {
"request-id": "11d58a76-d953-49ce-a086-418ce5eea09b",
"date": "2020-05-29T04:37:21"
}
}
According to the documentation I might be getting this if channel isn't private. But in my case, it is. Also I am able to retrieve the user by calling this: https://graph.microsoft.com/beta/users/{id}.
Does this sound familiar to anyone else? What am I doing wrong?

Error while creating Sales Order with "API_SALES_ORDER_SRV"

we want to create a Sales Order with Cloud SDK (Version 1.9.2) using Virtual Data Model (A_SalesOrder) in our Java Application.
We are calling S4 OnPremise System (1709).
SalesOrder so = SalesOrder.builder()
.salesOrderType("ZKE")
.salesOrganization("DE01")
.distributionChannel("01")
.organizationDivision("00")
.build();
try {
SalesOrder salesOrder = new
SalesOrderCreateFluentHelper(so).execute(endpoint);
} ....
We are getting the following error (while executing via PostMan):
"errordetails": [
{
"code": "CX_SADL_ENTITY_SRVICE_NOT_SUPP",
"message": "The requested service is not supported by entity ~A_SALESORDER",
"propertyref": "",
"severity": "error",
"target": ""
},
{
"code": "/IWBEP/CX_MGW_MED_EXCEPTION",
"message": "An exception was raised",
"propertyref": "",
"severity": "error",
"target": ""
}
]
Can somebody give us a advise to create a Sales Order via the API?
How we can create Sales Order Items for this Sales Order in one Step?
Thanks!
Additional information OData Request Data
(Response Data not provided in ERROR_LOG):
Request-Header / Request-Body:
Apparently we received this error message because we did not include any items in the request. If you give it in your body it worked. Thank you
Can you pls share the OData request and response body and payload?
Open transaction /IWFND/ERROR_LOG, choose the error message and in the lower part of the screen, choose Request Data resp. Response Data and provide us both body and header. Make sure to omit any confidential data.

Microsoft Graph API: GET Outlook Calendar Event: Filter by Organizer Email

I'm trying to GET Outlook Calendar event by organizer email.
Here is the request URL I'm using:
https://graph.microsoft.com/v1.0/me/events?$filter=organizer/emailAddress/address eq 'john#gmail.com'
The request fails with this error:
501 Not Implemented: {
"error": {
"code": "UnsupportedEntityExpression",
"message": "'i => (i.Organizer.EmailAddress == \"john#gmail.com\")' is not a supported filter expression.",
"innerError": {
"request-id": "62206cba-ad9e-4051-b504-321cbcacc6fd",
"date": "2017-08-04T23:39:47"
}
}
}
FYI I'm running this request on an iPaas called Workato and this is the error message displayed on it.
What puzzles me is that this similar request works:
https://graph.microsoft.com/v1.0/me/events?$filter=organizer/emailAddress/name eq 'john doe'
Both name and address are properties of emailAddress so I'm not sure why the first request fails.
Has anyone filtered by organizer email before?
I could reproduce this error , and find a thread talking about same topic:
https://github.com/microsoftgraph/microsoft-graph-docs/issues/426
It seems a bug and hasn't been fixed currently .

Mailchimp API 2.0 lists/subscribe responding with error 250 List_MergeFieldRequired MMERGE4 is required

I'm attempting to use the lists/subscribe Mailchimp API 2.0 endpoint to subscribe an email to a list, but I keep getting a puzzling error. My request looks like:
{
"apikey":"myapikey-us5",
"id":"listid",
"email":{"email":"my#email.com"},
"double_optin":false,
"send_welcome":true
}
I'm sending this to https://us5.api.mailchimp.com/2.0/lists/subscribe.json and getting this response:
{
"status": "error",
"code": 250,
"name": "List_MergeFieldRequired",
"error": "MMERGE4 must be provided - Please enter a value"
}
And if I specify "merge_vars": {} I still get the same error. What am I missing here?
It means you need to provide a value for MMERGE4 merge field. How you do this depends on what type of merge field MMERGE4 is, but It would be like this:
{
"apikey":"myapikey-us5",
"id":"listid",
"email":{"email":"my#email.com"},
"double_optin":false,
"send_welcome":true,
"merge_vars": {
"MMERGE4": "something"
}
}
But you should look and see what type of data that is, otherwise you might cause issues for whomever set that up as a required field.

Resources