Cannot request events delta without startDateTime
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
Research direction
Start with src/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.php and compare its template URL with the Event delta documentation linked in the issue. Reproduce the calendar delta request without startDateTime; done means the request succeeds without an invalid StartDateTime error while requests that provide the parameter still work.
Written by the indexing model from the issue text.
Description
Describe the bug
Event delta documentation says param startDateTime is optional when working with calendars but class DeltaRequestBuilder always include it in template url causing call to fail with ODataError.
Expected behavior
When performing a normal call without any optional param to get a full delta, no error should append.
How to reproduce
$client->me()
->calendars()
->byCalendarId($remoteId)
->events()
->delta()
->get(
new DeltaRequestBuilderGetRequestConfiguration([
'Prefer' => sprintf('outlook.timezone="%s"', $local->getTimeZone()->getName())
])
)
->wait()
SDK Version
2.8.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
{
"error": {
"code": "ErrorInvalidParameter",
"message": "The value '' of parameter 'StartDateTime' is invalid."
}
}
Configuration
No response
Other information
No response
- Dominant language
- PHP
- Stars
- 13
- Forks
- 8
- Avg merge
- 14h 58m
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoftgraph/msgraph-beta-sdk-php
-
dependency:metadata ToTriage type:bug
Difficulty 4/5 3-5 days Newbie friendliness 38/100
microsoftgraph/msgraph-beta-sdk-php#356 · 1 comment ·
-
status:waiting-for-triage ToTriage type:bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
ToTriage type:enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
microsoftgraph/msgraph-beta-sdk-php#309 · 1 comment ·
All issues in microsoftgraph/msgraph-beta-sdk-php
Similar issues
-
a11y admissions.uiowa.edu needs grooming SiteImprove best practice
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Save States Menu Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
pluginsGLPI/datainjection#673 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
octobercms/october#6130 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
getgrav/grav-plugin-form#656 ·